package com.gjy.sb.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @author gjy
 * @version 1.0
 * @since 2025-01-02 15:43:41
 */
@Data
public class JsonDomain {

    @NotBlank
    @JsonProperty("NAME")
    private String name;

    @Valid
    @NotNull(message = "j2d不能为空")
    @JsonProperty("J2D")
    private J2D j2D;
}
